#include <iostream>

using namespace std;

int main(void)
{
    int i = 1, j = 1;

    while(i < 10)
    {
        while(j <= i)
        {
            cout << i << " * " << j << " = " << i * j << " \t";
            j++;
        }
        cout << endl;
        j = 1;
        i++;
    }

    return 0;
}